<template>
	<view class="wrap">
		<view class="item bw h100 app_arrow app_flex-aic" @click="onSkipTap('changePhone')">更换手机号</view>
		<view class="item bw h100 app_arrow app_flex-aic" @click="onSkipTap('changePwd')">修改密码</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		onLoad(options) {

		},
		methods: {
			onSkipTap(type, index) {
				const urlObj = {
					changePhone: '/pages/me/changePhone',
					changePwd: '/pages/me/changePwd'
				}
				this.$g_util.navigationTo(urlObj, type)
			}
		}
	}
</script>

<style scoped lang="scss">
	.wrap {
		padding-top: 20rpx;
	}

	.item {
		padding: 0 30rpx;
		border-bottom: 1px solid $g-border-color;
		font-size: 30rpx;

		&::after {
			right: 36rpx;
		}
	}
</style>
